home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / net / bind-contrib.tar.gz / bind-contrib.tar / contrib / misc / settransfer-gaine.shar / ns_resp.c-DIFF < prev    next >
Encoding:
Text File  |  1996-10-25  |  1.8 KB  |  62 lines

  1. *** ns_resp.c-    Fri Dec 29 16:08:17 1995
  2. --- ns_resp.c    Fri Mar 22 14:13:56 1996
  3. ***************
  4. *** 1,6 ****
  5.   #if !defined(lint) && !defined(SABER)
  6.   static char sccsid[] = "@(#)ns_resp.c    4.65 (Berkeley) 3/3/91";
  7. ! static char rcsid[] = "$Id: settransfer-gaine.shar,v 8.2 1996/10/25 17:07:59 vixie Exp $";
  8.   #endif /* not lint */
  9.   
  10.   /*
  11. --- 1,6 ----
  12.   #if !defined(lint) && !defined(SABER)
  13.   static char sccsid[] = "@(#)ns_resp.c    4.65 (Berkeley) 3/3/91";
  14. ! static char rcsid[] = "$Id: settransfer-gaine.shar,v 8.2 1996/10/25 17:07:59 vixie Exp $";
  15.   #endif /* not lint */
  16.   
  17.   /*
  18. ***************
  19. *** 887,894 ****
  20.        *  sort them appropriately for the local context.
  21.        */
  22.   #ifdef SORT_RESPONSE
  23. !     if (!restart && ancount > 1 && (lp = local(&qp->q_from)) != NULL) 
  24. !         sort_response(tp, ancount, lp, eom);
  25.   #endif
  26.   
  27.       /*
  28. --- 887,896 ----
  29.        *  sort them appropriately for the local context.
  30.        */
  31.   #ifdef SORT_RESPONSE
  32. ! #if !defined(SETTRANSFER) || defined(ROUND_ROBIN)
  33. !         if (ancount > 1 && (lp = local(&qp->q_from)) != NULL)
  34. !                 sort_response(tp, ancount, lp, eom);
  35. ! #endif /* !SETTRANSFER || ROUND_ROBIN */
  36.   #endif
  37.   
  38.       /*
  39. ***************
  40. *** 944,953 ****
  41.        */
  42.       if ((!restart || !cname) && qp->q_cmsglen && ancount) {
  43.           dprintf(1, (ddt, "Cname second pass\n"));
  44. !         newmsglen = qp->q_cmsglen;
  45.           bcopy(qp->q_cmsg, newmsg, newmsglen);
  46.       } else {
  47. !         newmsglen = msglen;
  48.           bcopy(msg, newmsg, newmsglen);
  49.       }
  50.       hp = (HEADER *) newmsg;
  51. --- 946,955 ----
  52.        */
  53.       if ((!restart || !cname) && qp->q_cmsglen && ancount) {
  54.           dprintf(1, (ddt, "Cname second pass\n"));
  55. !         newmsglen = MIN(PACKETSZ, qp->q_cmsglen);
  56.           bcopy(qp->q_cmsg, newmsg, newmsglen);
  57.       } else {
  58. !         newmsglen = MIN(PACKETSZ, msglen);
  59.           bcopy(msg, newmsg, newmsglen);
  60.       }
  61.       hp = (HEADER *) newmsg;
  62.